package cn.cdg.mall.service.impl;

import cn.cdg.mall.mapper.StandardMapper;
import cn.cdg.mall.pojo.po.StandardPO;
import cn.cdg.mall.service.StandardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public  class StandardServiceImpl implements StandardService {
    @Autowired
    private StandardMapper standardMapper;
    @Override
    public List<StandardPO> selectAll() {
        List<StandardPO> list = standardMapper.selectList(null); // 没有参数
        return list;
    }
}

